<template>
  <div class="app-container">
    <el-row :gutter="20">
      <el-col :span="8">类别: 类别1</el-col>
      <el-col :span="8">提交人: 张三</el-col>
      <el-col :span="8">提交时间: 2023-12-12 09:34</el-col>
    </el-row>
    <el-row :gutter="10">
       <el-col>问题描述: 问题描述内容展示问题描述内容展示问题描述内容展示</el-col>
    </el-row>
    <el-row :gutter="10">
    <el-image
        style="width: 100px; height: 100px"
        :src="url"/>
      <el-image
        style="width: 100px; height: 100px;"
        class="ml20"
        :src="url"/>
      </el-row>
    <el-row :gutter="10">
       <el-col :span="2">答复内容: </el-col>
       <el-col :span="22"><el-input v-model="remark" type="textarea" placeholder="请输入"></el-input></el-col>
    </el-row>
    <div slot="footer">
      <el-button @click="$emit('change', 'List')">返回</el-button>
      <el-button @click="noEntert">不受理</el-button>
      <el-button type="primary">受理</el-button>
    </div>
    <!-- 不受理对话框 -->
    <el-dialog title="不受理" :visible.sync="open" width="500px" append-to-body>
      <el-form :model="form" label-width="80px">
        <el-form-item label="填写理由" :rules="[{ required: true, message: '不能为空'}]">
          <el-input v-model="form.reason" type="textarea" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary">确 定</el-button>
        <el-button @click="open=false">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>

export default {
  data() {
    return {
      url: '',
      remark: '',
      open: false,
      form: {},
      reason: ''
      }
  },
  methods: {
    noEntert() {
      this.open = true
    }
  }
};
</script>
